package com.ruoyi.bussiness.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培训课时对象 tra_lesson
 * 
 * @author ruoyi
 * @date 2023-11-12
 */
public class TraLesson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 课时 */
    @Excel(name = "课时")
    private Long classHour;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 培训内容ID */
    @Excel(name = "培训内容ID")
    private String courseId;

    /** 序号 */
    @Excel(name = "序号")
    private Long lessonOrder;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setClassHour(Long classHour) 
    {
        this.classHour = classHour;
    }

    public Long getClassHour() 
    {
        return classHour;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setCourseId(String courseId) 
    {
        this.courseId = courseId;
    }

    public String getCourseId() 
    {
        return courseId;
    }
    public void setLessonOrder(Long lessonOrder) 
    {
        this.lessonOrder = lessonOrder;
    }

    public Long getLessonOrder() 
    {
        return lessonOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("classHour", getClassHour())
            .append("memo", getMemo())
            .append("courseId", getCourseId())
            .append("lessonOrder", getLessonOrder())
            .toString();
    }
}
